<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #box {
            position: absolute;
            left: 100px;
            top: 100px;
            width: 100px;
            height: 100px;
            background-color: red;
        }
    </style>
    <script src="../js/utils.js"></script>
    <script src="../js/animate06.js"></script>
</head>
<body>
    <div id="box"></div>
    <script>
        var oBox = document.querySelector('#box');
        animate(oBox,{left:500},4000,'CubicIn',function(){
            animate(oBox,{left:0},2000,1)
        });
    </script>
</body>
</html>